The account of Julius Caesar's kidnapping and subsequent actions against his captors is primarily found in "Commentarii de Bello Gallico" (Commentaries on the Gallic War), written by Julius Caesar himself. In this work, he recounts his military campaigns and experiences during the Gallic Wars, including his experience of being captured by pirates.
Besides Caesar's own writings, historical analyses and biographies, such as "The Life of Julius Caesar" by Suetonius or "The Twelve Caesars", also provide context and details on Caesar's life, including his encounters with pirates.
If you are looking for detailed passages or specific translations, many editions of "Commentarii de Bello Gallico" include commentary and analysis that can provide further insight into this event.